package com.example.pages;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

public abstract class AnyPage extends Page {
// its not use
	//@FindBy(linkText = "English")
	@FindBy(xpath = "//a[contains(@href, './?lang=nl_NL')]")
	public WebElement lblEnglish;

	//@FindBy(linkText = "Nederlands")
	@FindBy(xpath = "//a[contains(@href, './?lang=en_US')]")
	public WebElement lblNiderlands;
	
	//@FindBy(linkText = "php4dvd v2.0")
	@FindBy(xpath = "//a[@href='http://php4dvd.sourceforge.net/']")
	public WebElement lblNameDVD;
	
	public boolean IsOnThisPage()	{
		return lblEnglish.isDisplayed();
	}
	

}
